# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'frm_order.ui'
##
## Created by: Qt User Interface Compiler version 6.6.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QAbstractSpinBox, QApplication, QButtonGroup, QCheckBox,
    QComboBox, QDoubleSpinBox, QFrame, QHBoxLayout,
    QLabel, QPushButton, QRadioButton, QSizePolicy,
    QSpinBox, QTabWidget, QVBoxLayout, QWidget)

class Ui_FrameOrder(object):
    def setupUi(self, FrameOrder):
        if not FrameOrder.objectName():
            FrameOrder.setObjectName(u"FrameOrder")
        FrameOrder.setWindowModality(Qt.WindowModal)
        FrameOrder.resize(419, 300)
        FrameOrder.setMaximumSize(QSize(420, 300))
        FrameOrder.setFrameShape(QFrame.StyledPanel)
        FrameOrder.setFrameShadow(QFrame.Raised)
        self.verticalLayout_8 = QVBoxLayout(FrameOrder)
        self.verticalLayout_8.setObjectName(u"verticalLayout_8")
        self.horizontalLayout_10 = QHBoxLayout()
        self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
        self.verticalLayout_4 = QVBoxLayout()
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.label = QLabel(FrameOrder)
        self.label.setObjectName(u"label")
        self.label.setMaximumSize(QSize(30, 16777215))

        self.horizontalLayout.addWidget(self.label)

        self.comboBoxSymbol = QComboBox(FrameOrder)
        self.comboBoxSymbol.setObjectName(u"comboBoxSymbol")

        self.horizontalLayout.addWidget(self.comboBoxSymbol)

        self.labelUpDown = QLabel(FrameOrder)
        self.labelUpDown.setObjectName(u"labelUpDown")

        self.horizontalLayout.addWidget(self.labelUpDown)


        self.verticalLayout_4.addLayout(self.horizontalLayout)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.label_2 = QLabel(FrameOrder)
        self.label_2.setObjectName(u"label_2")
        self.label_2.setMaximumSize(QSize(30, 16777215))

        self.horizontalLayout_2.addWidget(self.label_2)

        self.spinBoxVol = QSpinBox(FrameOrder)
        self.spinBoxVol.setObjectName(u"spinBoxVol")
        sizePolicy = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBoxVol.sizePolicy().hasHeightForWidth())
        self.spinBoxVol.setSizePolicy(sizePolicy)
        self.spinBoxVol.setMaximumSize(QSize(80, 16777215))
        self.spinBoxVol.setLayoutDirection(Qt.LeftToRight)
        self.spinBoxVol.setAlignment(Qt.AlignHCenter|Qt.AlignTop)
        self.spinBoxVol.setButtonSymbols(QAbstractSpinBox.UpDownArrows)
        self.spinBoxVol.setMaximum(9999)
        self.spinBoxVol.setValue(1)

        self.horizontalLayout_2.addWidget(self.spinBoxVol)

        self.lblMaxVol = QLabel(FrameOrder)
        self.lblMaxVol.setObjectName(u"lblMaxVol")

        self.horizontalLayout_2.addWidget(self.lblMaxVol)


        self.verticalLayout_4.addLayout(self.horizontalLayout_2)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.pushButtonPriceType = QPushButton(FrameOrder)
        self.pushButtonPriceType.setObjectName(u"pushButtonPriceType")
        self.pushButtonPriceType.setMaximumSize(QSize(50, 16777215))

        self.horizontalLayout_3.addWidget(self.pushButtonPriceType)

        self.spinBoxPrice = QDoubleSpinBox(FrameOrder)
        self.spinBoxPrice.setObjectName(u"spinBoxPrice")
        sizePolicy.setHeightForWidth(self.spinBoxPrice.sizePolicy().hasHeightForWidth())
        self.spinBoxPrice.setSizePolicy(sizePolicy)
        self.spinBoxPrice.setLayoutDirection(Qt.LeftToRight)
        self.spinBoxPrice.setAlignment(Qt.AlignHCenter|Qt.AlignTop)
        self.spinBoxPrice.setButtonSymbols(QAbstractSpinBox.UpDownArrows)
        self.spinBoxPrice.setMaximum(9999999999.000000000000000)

        self.horizontalLayout_3.addWidget(self.spinBoxPrice)


        self.verticalLayout_4.addLayout(self.horizontalLayout_3)


        self.horizontalLayout_10.addLayout(self.verticalLayout_4)

        self.verticalLayout_5 = QVBoxLayout()
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.labelUpper = QLabel(FrameOrder)
        self.labelUpper.setObjectName(u"labelUpper")

        self.verticalLayout_5.addWidget(self.labelUpper)

        self.labelSell = QLabel(FrameOrder)
        self.labelSell.setObjectName(u"labelSell")

        self.verticalLayout_5.addWidget(self.labelSell)

        self.labelBuy = QLabel(FrameOrder)
        self.labelBuy.setObjectName(u"labelBuy")

        self.verticalLayout_5.addWidget(self.labelBuy)

        self.labelLower = QLabel(FrameOrder)
        self.labelLower.setObjectName(u"labelLower")

        self.verticalLayout_5.addWidget(self.labelLower)


        self.horizontalLayout_10.addLayout(self.verticalLayout_5)


        self.verticalLayout_8.addLayout(self.horizontalLayout_10)

        self.horizontalLayout_11 = QHBoxLayout()
        self.horizontalLayout_11.setObjectName(u"horizontalLayout_11")
        self.tabWidget = QTabWidget(FrameOrder)
        self.tabWidget.setObjectName(u"tabWidget")
        self.tabWidget.setTabPosition(QTabWidget.South)
        self.tab = QWidget()
        self.tab.setObjectName(u"tab")
        self.verticalLayout_7 = QVBoxLayout(self.tab)
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.verticalLayout_2 = QVBoxLayout()
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.horizontalLayout_9 = QHBoxLayout()
        self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
        self.pushButtonBuy = QPushButton(self.tab)
        self.pushButtonBuy.setObjectName(u"pushButtonBuy")
        self.pushButtonBuy.setMaximumSize(QSize(200, 40))

        self.horizontalLayout_9.addWidget(self.pushButtonBuy)

        self.pushButtonShort = QPushButton(self.tab)
        self.pushButtonShort.setObjectName(u"pushButtonShort")
        self.pushButtonShort.setMaximumSize(QSize(200, 40))

        self.horizontalLayout_9.addWidget(self.pushButtonShort)


        self.verticalLayout_2.addLayout(self.horizontalLayout_9)

        self.horizontalLayout_8 = QHBoxLayout()
        self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
        self.pushButtonSell = QPushButton(self.tab)
        self.pushButtonSell.setObjectName(u"pushButtonSell")
        sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.pushButtonSell.sizePolicy().hasHeightForWidth())
        self.pushButtonSell.setSizePolicy(sizePolicy1)
        self.pushButtonSell.setMinimumSize(QSize(0, 0))
        self.pushButtonSell.setMaximumSize(QSize(200, 40))

        self.horizontalLayout_8.addWidget(self.pushButtonSell)

        self.pushButtonCover = QPushButton(self.tab)
        self.pushButtonCover.setObjectName(u"pushButtonCover")
        sizePolicy1.setHeightForWidth(self.pushButtonCover.sizePolicy().hasHeightForWidth())
        self.pushButtonCover.setSizePolicy(sizePolicy1)
        self.pushButtonCover.setMinimumSize(QSize(0, 0))
        self.pushButtonCover.setMaximumSize(QSize(200, 40))

        self.horizontalLayout_8.addWidget(self.pushButtonCover)


        self.verticalLayout_2.addLayout(self.horizontalLayout_8)


        self.verticalLayout_7.addLayout(self.verticalLayout_2)

        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QWidget()
        self.tab_2.setObjectName(u"tab_2")
        self.verticalLayout_3 = QVBoxLayout(self.tab_2)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.radioButtonSpeculation = QRadioButton(self.tab_2)
        self.buttonGroupInvestType = QButtonGroup(FrameOrder)
        self.buttonGroupInvestType.setObjectName(u"buttonGroupInvestType")
        self.buttonGroupInvestType.addButton(self.radioButtonSpeculation)
        self.radioButtonSpeculation.setObjectName(u"radioButtonSpeculation")
        self.radioButtonSpeculation.setChecked(True)
        self.radioButtonSpeculation.setAutoRepeat(False)

        self.horizontalLayout_5.addWidget(self.radioButtonSpeculation)

        self.radioButtonHedge = QRadioButton(self.tab_2)
        self.buttonGroupInvestType.addButton(self.radioButtonHedge)
        self.radioButtonHedge.setObjectName(u"radioButtonHedge")
        self.radioButtonHedge.setChecked(False)

        self.horizontalLayout_5.addWidget(self.radioButtonHedge)

        self.radioButtonArbitrage = QRadioButton(self.tab_2)
        self.buttonGroupInvestType.addButton(self.radioButtonArbitrage)
        self.radioButtonArbitrage.setObjectName(u"radioButtonArbitrage")

        self.horizontalLayout_5.addWidget(self.radioButtonArbitrage)


        self.verticalLayout.addLayout(self.horizontalLayout_5)

        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.radioButtonBuy = QRadioButton(self.tab_2)
        self.buttonGroupBuySell = QButtonGroup(FrameOrder)
        self.buttonGroupBuySell.setObjectName(u"buttonGroupBuySell")
        self.buttonGroupBuySell.addButton(self.radioButtonBuy)
        self.radioButtonBuy.setObjectName(u"radioButtonBuy")
        self.radioButtonBuy.setChecked(True)

        self.horizontalLayout_4.addWidget(self.radioButtonBuy)

        self.radioButtonSell = QRadioButton(self.tab_2)
        self.buttonGroupBuySell.addButton(self.radioButtonSell)
        self.radioButtonSell.setObjectName(u"radioButtonSell")

        self.horizontalLayout_4.addWidget(self.radioButtonSell)


        self.verticalLayout.addLayout(self.horizontalLayout_4)

        self.horizontalLayout_6 = QHBoxLayout()
        self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
        self.radioButtonOpen = QRadioButton(self.tab_2)
        self.buttonGroup = QButtonGroup(FrameOrder)
        self.buttonGroup.setObjectName(u"buttonGroup")
        self.buttonGroup.addButton(self.radioButtonOpen)
        self.radioButtonOpen.setObjectName(u"radioButtonOpen")
        self.radioButtonOpen.setChecked(True)

        self.horizontalLayout_6.addWidget(self.radioButtonOpen)

        self.radioButtonClose = QRadioButton(self.tab_2)
        self.buttonGroup.addButton(self.radioButtonClose)
        self.radioButtonClose.setObjectName(u"radioButtonClose")
        self.radioButtonClose.setAutoRepeat(True)
        self.radioButtonClose.setAutoExclusive(False)

        self.horizontalLayout_6.addWidget(self.radioButtonClose)

        self.radioButtonCloseToday = QRadioButton(self.tab_2)
        self.buttonGroup.addButton(self.radioButtonCloseToday)
        self.radioButtonCloseToday.setObjectName(u"radioButtonCloseToday")

        self.horizontalLayout_6.addWidget(self.radioButtonCloseToday)

        self.radioButtonCloseYesterday = QRadioButton(self.tab_2)
        self.buttonGroup.addButton(self.radioButtonCloseYesterday)
        self.radioButtonCloseYesterday.setObjectName(u"radioButtonCloseYesterday")

        self.horizontalLayout_6.addWidget(self.radioButtonCloseYesterday)


        self.verticalLayout.addLayout(self.horizontalLayout_6)

        self.horizontalLayout_7 = QHBoxLayout()
        self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
        self.pushButtonOrder = QPushButton(self.tab_2)
        self.pushButtonOrder.setObjectName(u"pushButtonOrder")

        self.horizontalLayout_7.addWidget(self.pushButtonOrder)

        self.pushButtonCancelOrder = QPushButton(self.tab_2)
        self.pushButtonCancelOrder.setObjectName(u"pushButtonCancelOrder")

        self.horizontalLayout_7.addWidget(self.pushButtonCancelOrder)


        self.verticalLayout.addLayout(self.horizontalLayout_7)


        self.verticalLayout_3.addLayout(self.verticalLayout)

        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QWidget()
        self.tab_3.setObjectName(u"tab_3")
        self.tabWidget.addTab(self.tab_3, "")

        self.horizontalLayout_11.addWidget(self.tabWidget)

        self.verticalLayout_6 = QVBoxLayout()
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.cbOK = QCheckBox(FrameOrder)
        self.cbOK.setObjectName(u"cbOK")
        self.cbOK.setChecked(True)

        self.verticalLayout_6.addWidget(self.cbOK)

        self.cbPark = QCheckBox(FrameOrder)
        self.cbPark.setObjectName(u"cbPark")

        self.verticalLayout_6.addWidget(self.cbPark)

        self.cbKeep = QCheckBox(FrameOrder)
        self.cbKeep.setObjectName(u"cbKeep")

        self.verticalLayout_6.addWidget(self.cbKeep)


        self.horizontalLayout_11.addLayout(self.verticalLayout_6)


        self.verticalLayout_8.addLayout(self.horizontalLayout_11)


        self.retranslateUi(FrameOrder)

        self.tabWidget.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(FrameOrder)
    # setupUi

    def retranslateUi(self, FrameOrder):
        FrameOrder.setWindowTitle(QCoreApplication.translate("FrameOrder", u"\u4e0b\u5355\u9762\u677f", None))
        self.label.setText(QCoreApplication.translate("FrameOrder", u"\u5408\u7ea6", None))
        self.labelUpDown.setText(QCoreApplication.translate("FrameOrder", u"\u6da8\u8dcc", None))
        self.label_2.setText(QCoreApplication.translate("FrameOrder", u"\u624b\u6570", None))
        self.lblMaxVol.setText(QCoreApplication.translate("FrameOrder", u"\u6700\u5927    ", None))
        self.pushButtonPriceType.setText(QCoreApplication.translate("FrameOrder", u"\u6307\u5b9a\u4ef7", None))
        self.labelUpper.setText(QCoreApplication.translate("FrameOrder", u"\u6da8\u505c                        ", None))
        self.labelSell.setText(QCoreApplication.translate("FrameOrder", u"\u5356:", None))
        self.labelBuy.setText(QCoreApplication.translate("FrameOrder", u"\u4e70", None))
        self.labelLower.setText(QCoreApplication.translate("FrameOrder", u"\u8dcc\u505c", None))
        self.pushButtonBuy.setText(QCoreApplication.translate("FrameOrder", u"\u4ef7\u683c\n"
"\u5f00\u591a", None))
        self.pushButtonShort.setText(QCoreApplication.translate("FrameOrder", u"\u4ef7\u683c\n"
"\u5f00\u7a7a", None))
        self.pushButtonSell.setText(QCoreApplication.translate("FrameOrder", u"\u4ef7\u683c\n"
"\u5e73\u591a", None))
        self.pushButtonCover.setText(QCoreApplication.translate("FrameOrder", u"\u4ef7\u683c\n"
"\u5e73\u7a7a", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("FrameOrder", u"\u56db\u952e\u578b", None))
        self.radioButtonSpeculation.setText(QCoreApplication.translate("FrameOrder", u"\u6295\u673a", None))
        self.radioButtonHedge.setText(QCoreApplication.translate("FrameOrder", u"\u5957\u4fdd", None))
        self.radioButtonArbitrage.setText(QCoreApplication.translate("FrameOrder", u"\u5957\u5229", None))
        self.radioButtonBuy.setText(QCoreApplication.translate("FrameOrder", u"\u4e70\u5165", None))
        self.radioButtonSell.setText(QCoreApplication.translate("FrameOrder", u"\u5356\u51fa", None))
        self.radioButtonOpen.setText(QCoreApplication.translate("FrameOrder", u"\u5f00\u4ed3", None))
        self.radioButtonClose.setText(QCoreApplication.translate("FrameOrder", u"\u5e73\u4ed3", None))
        self.radioButtonCloseToday.setText(QCoreApplication.translate("FrameOrder", u"\u5e73\u4eca", None))
        self.radioButtonCloseYesterday.setText(QCoreApplication.translate("FrameOrder", u"\u5e73\u6628", None))
        self.pushButtonOrder.setText(QCoreApplication.translate("FrameOrder", u"\u4e0b\u5355", None))
        self.pushButtonCancelOrder.setText(QCoreApplication.translate("FrameOrder", u"\u53d6\u6d88", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("FrameOrder", u"\u6807\u51c6\u578b", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("FrameOrder", u"\u6761\u4ef6\u5355", None))
        self.cbOK.setText(QCoreApplication.translate("FrameOrder", u"\u786e\u8ba4", None))
        self.cbPark.setText(QCoreApplication.translate("FrameOrder", u"\u9884\u57cb", None))
        self.cbKeep.setText(QCoreApplication.translate("FrameOrder", u"\u4fdd\u503c", None))
    # retranslateUi

